package com.team.engine.common.exception;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.servlet.HandlerExceptionResolver;
import org.springframework.web.servlet.ModelAndView;

/**
 * web异常处理
 * @author MengLH
 * @data 2010-9-20
 */
public class WebExceptionResolver implements HandlerExceptionResolver {

	private final Logger log = LoggerFactory.getLogger(WebExceptionResolver.class);
	
	public ModelAndView resolveException(HttpServletRequest request,
			HttpServletResponse response, Object object, Exception e) {
		HttpSession session = request.getSession();
		session.getId();
		//处理异常
		
		return null;
	}

}
